package com.example.SpringBootMybatis.entity;

import java.util.List;

public class PredictionResult {
    private List<Prediction> predictions;
    private int top;

    public PredictionResult(List<Prediction> predictions, int top) {
        this.predictions = predictions;
        this.top = top;
    }

    public List<Prediction> getPredictions() {
        return predictions;
    }

    public void setPredictions(List<Prediction> predictions) {
        this.predictions = predictions;
    }

    public int getTop() {
        return top;
    }

    public void setTop(int top) {
        this.top = top;
    }
}
